From 7535bc04f88af406dbc8849a0611af21c0d1608b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jun 2005 18:26:25 +0000 Subject: [PATCH] Resize the popup if necessary. (#308076, Vincent Noel) 2005-06-17 Matthias Clasen * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): Resize the popup if necessary. (#308076, Vincent Noel) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtkentrycompletion.c | 3 +++ 4 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index ccf4ee61ab..4c22d3d4ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-17 Matthias Clasen + * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): + Resize the popup if necessary. (#308076, Vincent Noel) + * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a draw on the old and new focus widgets, if their defaultness changes. (#305607, Billy Biggs) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ccf4ee61ab..4c22d3d4ab 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-06-17 Matthias Clasen + * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): + Resize the popup if necessary. (#308076, Vincent Noel) + * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a draw on the old and new focus widgets, if their defaultness changes. (#305607, Billy Biggs) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ccf4ee61ab..4c22d3d4ab 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-06-17 Matthias Clasen + * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): + Resize the popup if necessary. (#308076, Vincent Noel) + * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a draw on the old and new focus widgets, if their defaultness changes. (#305607, Billy Biggs) diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index e9d03f6c1a..28b8f99511 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1132,6 +1132,9 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion) g_free (tmp); gtk_tree_model_filter_refilter (completion->priv->filter_model); + + if (GTK_WIDGET_VISIBLE (completion->priv->popup_window)) + _gtk_entry_completion_resize_popup (completion); } static void -- 2.30.2